home *** CD-ROM | disk | FTP | other *** search
- Path: news.cto.us.edu.pl!calkowsk
- From: calkowsk@usctoux1.cto.us.edu.pl (Grzegorz Calkowski)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ds.l
- Date: 6 Feb 1996 12:54:12 GMT
- Organization: Silesian University, Katowice, Poland
- Distribution: world
- Message-ID: <4f7j1k$dfs@helios.cto.us.edu.pl>
- References: <497.6609T1129T586@mbox3.swipnet.se>
- NNTP-Posting-Host: usctoux1.cto.us.edu.pl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
- : When using FileInfoBlock it must be long word aligned.
- : Q: In asm you have 'ds.l'. Is there any equal in C?
-
- You're wrong!! FIB must be on 8 bytes boundary, not 4 bytes! The best way
- to achieve that is to use AllocDosObject(), which returns an allocated &
- initialized fib for you.
-
- See ya,
- -Grzegorz
-